package com.model.pojo;


import org.springframework.stereotype.Component;

@Component
public class User {
  private String roomName;
    private int UserId;
    private String  userName;
    private String  userPassword;
    private String  userPermissions;

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "roomName='" + roomName + '\'' +
                ", UserId=" + UserId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userPermissions='" + userPermissions + '\'' +
                '}';
    }


    public User(String roomName, int userId, String userName, String userPassword, String userPermissions) {
        this.roomName = roomName;
        UserId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userPermissions = userPermissions;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int userId) {
        UserId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserPermissions() {
        return userPermissions;
    }

    public void setUserPermissions(String userPermissions) {
        this.userPermissions = userPermissions;
    }




}
